package com.example.demo.dao;

import com.example.demo.entity.Comment;
import com.example.demo.utils.MyMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface CommentMapper extends MyMapper<Comment> {


    List<Comment> selectAllComments();

    int updateStatus(@Param("comment_id")int comment_id,@Param("flag")int flag);
}
